package com.hckjsec.cloud.domain;

import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 公证国家对象 sys_country
 * 
 * @author cyt
 * @date 2021-08-16
 */
public class SysCountry implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private String countrynumber;

    /** 中文名称 */
    @Excel(name = "中文名称")
    private String countryname;

    /** 简称 */
    @Excel(name = "简称")
    private String countryabbreviation;

    /** 全拼 */
    @Excel(name = "全拼")
    private String countrywhole;

    /** 简拼 */
    @Excel(name = "简拼")
    private String countryspelling;

    /** 首字母 */
    @Excel(name = "首字母")
    private String countryinitials;

    /** 国旗路径名称 */
    @Excel(name = "国旗路径名称")
    private String countrypath;

    /** 类别 */
    @Excel(name = "类别")
    private String category;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 热门国家 */
    @Excel(name = "热门国家")
    private Long host;

    public SysCountry() {
    }

    public SysCountry(String category) {
        this.category = category;
    }

    public void setCountrynumber(String countrynumber)
    {
        this.countrynumber = countrynumber;
    }

    public String getCountrynumber() 
    {
        return countrynumber;
    }
    public void setCountryname(String countryname) 
    {
        this.countryname = countryname;
    }

    public String getCountryname() 
    {
        return countryname;
    }
    public void setCountryabbreviation(String countryabbreviation) 
    {
        this.countryabbreviation = countryabbreviation;
    }

    public String getCountryabbreviation() 
    {
        return countryabbreviation;
    }
    public void setCountrywhole(String countrywhole) 
    {
        this.countrywhole = countrywhole;
    }

    public String getCountrywhole() 
    {
        return countrywhole;
    }
    public void setCountryspelling(String countryspelling) 
    {
        this.countryspelling = countryspelling;
    }

    public String getCountryspelling() 
    {
        return countryspelling;
    }
    public void setCountryinitials(String countryinitials) 
    {
        this.countryinitials = countryinitials;
    }

    public String getCountryinitials() 
    {
        return countryinitials;
    }
    public void setCountrypath(String countrypath) 
    {
        this.countrypath = countrypath;
    }

    public String getCountrypath() 
    {
        return countrypath;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setHost(Long host)
    {
        this.host = host;
    }

    public Long getHost()
    {
        return host;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("countrynumber", getCountrynumber())
            .append("countryname", getCountryname())
            .append("countryabbreviation", getCountryabbreviation())
            .append("countrywhole", getCountrywhole())
            .append("countryspelling", getCountryspelling())
            .append("countryinitials", getCountryinitials())
            .append("countrypath", getCountrypath())
            .append("category", getCategory())
            .append("sort", getSort())
            .append("host", getHost())
            .toString();
    }
}
